package com.atguigu.gulimall.ware.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 库存工作单
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
@TableName("wms_ware_order_task_detail") // 库存订单任务细表: 某个商品 在哪个仓库 锁了多少件
public class WareOrderTaskDetailEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@TableId
	private Long id;
	private Long skuId;
	private String skuName;
	private Integer skuNum;
	//工作单id
	private Long taskId;  //是wms_ware_order_task中的id
	private Long wareId;
	//1-已锁定  2-已解锁  3-扣减
	private Integer lockStatus;

}
